package br.com.ccm.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(schema="medico", name="dados_clinicos")
public class DadosClinicos implements Serializable{

	private static final long serialVersionUID = -7339074142571405586L;

	@Id 
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ")
	@SequenceGenerator(schema = "medico", initialValue = 1, name = "SEQ", sequenceName = "medico.seq_dados_clinicos", allocationSize = 1)
	private Long id;
	
	private String altura;
	private String peso;
	
	@Column(name="pressao_aterial")
	private String pressaoAterial;
	
	@Temporal(TemporalType.DATE)
	@Column(name="data_avaliacao")
	private Date dataAvaliacao;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAltura() {
		return altura;
	}

	public void setAltura(String altura) {
		this.altura = altura;
	}

	public String getPeso() {
		return peso;
	}

	public void setPeso(String peso) {
		this.peso = peso;
	}

	public String getPressaoAterial() {
		return pressaoAterial;
	}

	public void setPressaoAterial(String pressaoAterial) {
		this.pressaoAterial = pressaoAterial;
	}

	public Date getDataAvaliacao() {
		return dataAvaliacao;
	}

	public void setDataAvaliacao(Date dataAvaliacao) {
		this.dataAvaliacao = dataAvaliacao;
	}
}
